import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main3 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);

            long x = in.nextLong();
            int []arr=new int[20];
            int n=0,sum=0;
            while (x!=0){
                int t=(int)x%10;
                arr[n++]=t;
                sum+=t;
                x/=10;
            }

            if (sum%2==1){
                System.out.println("No");
            }else {
                sum/=2;
                boolean []dp=new boolean[sum+1];
                dp[0]=true;
                for (int i=0;i<n;i++){
                    for (int j=sum;j>=arr[i];j--){
                        dp[j]=dp[j]||dp[j-arr[i]];
                    }
                }
                if (dp[sum]){
                    System.out.println("Yes");
                }else {
                    System.out.println("No");
                }
            }

        }
    }
